/*
 * Copyright (c) 2019.  鼎捷软件股份有限公司.All rights reserved.
 */

package com.digiwin.dap.middleware.entity;

/**
 * 实体关联定义
 */
public class AssociationEntity {

    private String tableName;
    private String fieldName;
    private boolean isCascadeDelete;

    public AssociationEntity() {
    }

    public AssociationEntity(String tableName, String fieldName, boolean isCascadeDelete) {
        this.tableName = tableName;
        this.fieldName = fieldName;
        this.isCascadeDelete = isCascadeDelete;
    }

    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }


    public String getFieldName() {
        return fieldName;
    }

    public void setFieldName(String fieldName) {
        this.fieldName = fieldName;
    }

    public boolean isCascadeDelete() {
        return isCascadeDelete;
    }

    public void setCascadeDelete(boolean cascadeDelete) {
        isCascadeDelete = cascadeDelete;
    }
}
